import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { ShpHandleRoutingModule } from './shp-handle-routing.module';
import { ShpHandleComponent } from './shp-handle.component';
import { CommonNzModule } from 'src/common/common-nz.module';
import { HLDZBComponent } from './hldzb/hldzb.component';

import { IconDefinition } from '@ant-design/icons-angular';
import {
  InboxOutline,
  DeleteOutline,
  DownloadOutline,
} from '@ant-design/icons-angular/icons';

const icons: IconDefinition[] = [InboxOutline, DeleteOutline, DownloadOutline];
import { NzIconModule } from 'ng-zorro-antd/icon';
import { JCComponent } from './jc/jc.component';
import { BGDComponent } from './bgd/bgd.component';
import { HDComponent } from './hd/hd.component';
import { WXDSSComponent } from './wxdss/wxdss.component';
import { FXQBQComponent } from './fxqbq/fxqbq.component';
import { GZQComponent } from './gzq/gzq.component';
import { JCPDComponent } from './jcpd/jcpd.component';
import { SQComponent } from './sq/sq.component';
import { HTTP_INTERCEPTORS } from '@angular/common/http';
import { Interceptor } from 'src/common/Interceptor';
@NgModule({
  declarations: [
    ShpHandleComponent,
    HLDZBComponent,
    JCComponent,
    BGDComponent,
    HDComponent,
    WXDSSComponent,
    FXQBQComponent,
    GZQComponent,
    JCPDComponent,
    SQComponent,
  ],
  imports: [
    CommonModule,
    ShpHandleRoutingModule,
    CommonNzModule,
    NzIconModule.forChild(icons),
  ],
  providers: [
    { provide: HTTP_INTERCEPTORS, useClass: Interceptor, multi: true },
  ],
})
export class ShpHandleModule {}
